package com.sumainfor.pc.gmio.controller;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.gmio.service.impl.TemporaryBillService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

/**
 * @author Meng
 * @ClassName TemporaryBillController
 * @date 2020/1/3 16:16
 * @description: TODO
 */
@Controller
@RequestMapping("/TemporaryBill")
public class TemporaryBillController {

    @Autowired
    TemporaryBillService temporaryBillService;


    @PostMapping("/addBillTem")
    @ResponseBody
    public JsonResult addBillTem(@RequestBody Map<String,Object> params){


    return temporaryBillService.addBillTem(params);




    }
}
